const project = {
  namespaced: true,
  state:{
    data:window.$getStore({ name: 'project' }) || null,
  },
  actions:{
    set({commit},project){
      commit('SET_PROJECT', project)
    }
  },
  mutations:{
    SET_PROJECT:(state,payload) =>{
      state.data = payload
      window.$setStore({ name: 'project', content: payload })
    }
  }
}
export default project